package com.tbb.app.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.tbb.app.common.entity.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 消息表
 *
 * @author Liu
 * @since 2022-01-11
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tbb_message")
public class Message extends BaseEntity<Message> {

    /**
     * 发送人id
     */
    private String sendUserId;

    /**
     * 接收人id
     */
    private String receiveUserId;

    /**
     * 消息正文
     */
    private String text;


}
